<script type="text/javascript">
function verif_eleve()
 {
  if (document.eleve_suivant.el.value==-2)
   {
    alert ("Vous devez d'abord choisir un eleve avant de valider !")
    return false
   }
  else
   {
    return true
   }
 }
function ouvrefenetre (adresse)
 {
  var hauteur=screen.height-30
  var largeur=screen.width-10
  var pos_y=(screen.height-hauteur)/2
  var pos_x=(screen.width-largeur)/2
  var caracteristiques = "top="+(pos_y)+",left="+(pos_x)+",height="+ (hauteur) +",width="+ (largeur) + ",status=no,scrollbars=yes,menubar=no,resizable=yes"
  var gar_fen = window.open(adresse,"fenetre",caracteristiques)
 }
function valide_changer ()
 {
  if (document.controle.qh.checked == false) { document.controle.quad_h.value = 0 } else { document.controle.quad_h.value = 1 }
  if (document.controle.qv.checked == false) { document.controle.quad_v.value = 0 } else { document.controle.quad_v.value = 1 }
  if (document.controle.cp0.checked == false) { document.controle.compare0.value = 0 } else { document.controle.compare0.value = 1 }
  if (document.controle.cp1.checked == false) { document.controle.compare1.value = 0 } else { document.controle.compare1.value = 1 }
  if (document.controle.cp2.checked == false) { document.controle.compare2.value = 0 } else { document.controle.compare2.value = 1 }
  if (document.controle.id40.checked == false) { document.controle.ind_40.value = 0 } else { document.controle.ind_40.value = 1 }
  if (document.controle.id60.checked == false) { document.controle.ind_60.value = 0 } else { document.controle.ind_60.value = 1 }
  return true
 }
isNS4 = (document.layers) ? true : false;
isIE4 = (document.all && !document.getElementById) ? true : false;
isIE5 = (document.all && document.getElementById) ? true : false;
isNS6 = (!document.all && document.getElementById) ? true : false;
function fenetre_graphe(strDivName,bolVisible)
 {
  //identify the element based on browser type
  if (isNS4) { objElement = document.layers[strDivName]; }
  else if (isIE4) { objElement = document.all[strDivName]; }
  else if (isIE5 || isNS6) { objElement = document.getElementById(strDivName); }
  if (isNS4)
   {
    if (!bolVisible)
     {
      objElement.visibility ="hidden";
      objElement.height     ="";//10px
     }
    else
     {
      objElement.visibility ="visible";
      objElement.height     ="";
     }    
   }
  else
   {
    if (!bolVisible)
     {
      objElement.style.visibility = "hidden";
      objElement.style.height     = "";//10px
     }
    else
     {
      objElement.style.visibility = "visible";
      objElement.style.height     = "";
     }
   }
 }
</SCRIPT>
<STYLE TYPE="text/css">
 BODY { margin:0 0 0 0;padding:0 0 0 0 }
 #graphe_controle { position:absolute;visibility:hidden;left:1px;top:1px;padding:0px }
</STYLE>